package com.xuebusi.toutiao.admin.api.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuebusi.toutiao.admin.api.common.result.PageInfo;
import com.xuebusi.toutiao.admin.api.user.entity.SourceEntity;
import com.xuebusi.toutiao.admin.api.user.vo.SourceQueryPVO;
import com.xuebusi.toutiao.admin.api.user.vo.SourceRVO;
import org.springframework.http.ResponseEntity;

public interface SourceService extends IService<SourceEntity> {
    /**
     * 分页查询用户的图片素材
     *
     * @param userId         用户id
     * @param sourceQueryPVO 查询条件
     * @return
     */
    ResponseEntity<PageInfo<SourceRVO>> getImages(Integer userId, SourceQueryPVO sourceQueryPVO);
}
